package com.balakitbbs.service;

import org.springframework.beans.factory.annotation.Autowired; 
import org.springframework.stereotype.Service;                 
import com.balakitbbs.page.SearchPageUtil;     
import java.util.*;     
import com.balakitbbs.entity.Bala_sysconfig;
import com.balakitbbs.dao.Bala_sysconfigDaoIF;
   /**
    * bala_sysconfig Service类
    */ 
@Service
public class Bala_sysconfigService{
@Autowired
private Bala_sysconfigDaoIF dao;
	public void addBala_sysconfig(Bala_sysconfig bala_sysconfig){
		dao.addBala_sysconfig(bala_sysconfig);
	}

	public void delBala_sysconfig(String id){
		dao.delBala_sysconfig(id);
	}

	public void delBala_sysconfigTrue(String id){
		dao.delBala_sysconfigTrue(id);
	}

	public void updateBala_sysconfig(Bala_sysconfig bala_sysconfig){
		dao.updateBala_sysconfig(bala_sysconfig);
	}

	public Bala_sysconfig selectBala_sysconfigById(String id){
		return dao.selectBala_sysconfigByID(id);
	}

	public int selectBala_sysconfigCount(){
		return dao.selectBala_sysconfigCount();
	}

	public int selectBala_sysconfigCountAll(){
		return dao.selectBala_sysconfigCountAll();
	}

	public List<Bala_sysconfig> selectBala_sysconfigsByPage(SearchPageUtil spu){
		return dao.selectBala_sysconfigsByPage(spu);
	}

	public int selectBala_sysconfigsByPOJOCount(Bala_sysconfig bala_sysconfig){
		return dao.selectBala_sysconfigsByPOJOCount(bala_sysconfig);
	}

	public List<Bala_sysconfig> selectBala_sysconfigsByPOJO(Bala_sysconfig bala_sysconfig){
		return dao.selectBala_sysconfigsByPOJO(bala_sysconfig);
	}

	public List<Bala_sysconfig> selectBala_sysconfigsByPojoPage(SearchPageUtil spu,Bala_sysconfig bala_sysconfig){
		Map map = new HashMap();
		map.put("spu",spu);
		map.put("pojo",bala_sysconfig);
		return dao.selectBala_sysconfigsByPojoPage(map);
	}

}

